package com.millstein.springcloud.service.impl;

import com.millstein.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------------------PaymentHystrixServiceImpl-ok，failure";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-------------------PaymentHystrixServiceImpl-timeout，failure";
    }
}
